package com.lifeonwalden.copula.bean;

import com.lifeonwalden.copula.constant.OptimizeMinimizeMethod;
import com.lifeonwalden.copula.constant.OptimizeMinimizeScalarMethod;

public class OptimizeOptions {
    private OptimizeMinimizeMethod minimizeMethod;
    private OptimizeMinimizeScalarMethod minimizeScalarMethod;
    private boolean isScalar;

    public OptimizeMinimizeMethod getMinimizeMethod() {
        return minimizeMethod;
    }

    public OptimizeOptions setMinimizeMethod(OptimizeMinimizeMethod minimizeMethod) {
        this.minimizeMethod = minimizeMethod;
        return this;
    }

    public OptimizeMinimizeScalarMethod getMinimizeScalarMethod() {
        return minimizeScalarMethod;
    }

    public OptimizeOptions setMinimizeScalarMethod(OptimizeMinimizeScalarMethod minimizeScalarMethod) {
        this.minimizeScalarMethod = minimizeScalarMethod;
        return this;
    }

    public boolean isScalar() {
        return isScalar;
    }

    public OptimizeOptions setScalar(boolean scalar) {
        isScalar = scalar;
        return this;
    }
}
